18. Query the Dataset 1

Query the Dataset 1

Question:

Like any dict of dicts, individual people/features can be accessed like so:

enron_data["LASTNAME FIRSTNAME"]["feature_name"]

or, sometimes

enron_data["LASTNAME FIRSTNAME MIDDLEINITIAL"]["feature_name"]

What is the total value of the stock belonging to James Prentice?

Start Quiz:

INSTRUCTOR NOTE:

Lastname, Firstname and Middle Initial all in CAPS.